home *** CD-ROM | disk | FTP | other *** search
- // VirtuaLight VIB-Header
-
- /*
- * Useful static definitions
- * This file also includes "functions.vib"
- */
-
- Version:1.3
-
- static PI = 3.141592653589793239
- static TWO_PI = 2.0 * PI
- static PI_TWO = PI / 2.0
- static FALSE = 0
- static TRUE = 1
-
- // point or vector components
- static X = 0
- static Y = 1
- static Z = 2
-
- // rgba color components
- static R = 0
- static G = 1
- static B = 2
- static A = 3
-
- // light decay rates
- static LINEAR = 1
- static QUADRATIC = 2
- static CUBIC = 3
-
- // lighting attributes
- static NOTHING = 0
- static SHADOW = 1
- static SPECULAR = 2
- /* for flat area lights only */
- static AUTO_ORIENTED = 4
- static 1SIDED = 8
-
- // distribution methods
- static REGULAR = 1
- static GRID = 2
- static HAMMERSLEY = 3
- static ADAPTIVE_U = 4
- static RANDOM = 5
- static N_ROOK = 6
-
- // image file interpolations
- static NONE = 0
- static BILINEAR = 1
- static NORMALIZED = 2
-
- // scattering models
- static ISOTROPIC = 1
- static RAYLEIGHT = 2
- static MIE = 3
- static HENYEY = 4
-
- // cubic basis function
- static BEZIER = 1
- static BSPLINE = 2
- static CATMULLROM = 3
- static HERMITE = 4
-
- // methods for surface of revolution
- static STRAIGHT = 1
- static POLYNOMIAL = 2
- static CONDITIONAL = 3
- static OFF = 0
- static ON = 1
-
- // type of splines
- static C_SPLINE = 1
- static CLOSEDC_SPLINE = 2
- static POLYLINE = 3
- static CLOSEDPOLYLINE = 4
- static DERIVC_SPLINE = 5
-
- // type of camera lens models
- static PERSPECTIVE = 1
- static ORTHOGRAPHIC = 2
- static WIDE_ANGLE = 3
- static FISHEYE = 4
- static PANORAMIC = 5
- static OMNIMAX = 6
-
- // type of pixel filtering function
- static BOXfilter = 1
- static TRIANGLEfilter = 2
- static CATMULLROMfilter = 3
- static GAUSSIANfilter = 4
- static SINCfilter = 5
- static DISKfilter = 6
- static BESSELfilter = 7
-
- ReadArchive "functions.vib"